package com.front.managementfront.config.properties;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * @ClassNameAmapProperties
 * @Description
 * @Author yck
 * @Date2021-07-22 11:25
 * @Version V1.0
 **/
@Data
@Component
@RefreshScope
public class AmapProperties {
    @Value("${amap.amapKey}")
   private String amapKey;

    @Value("${qqmap.qqkey}")
    private String qqkey;
}
